package com.ruoyi.xz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页商品对象 xz_index_product
 * 
 * @author DongNan
 * @date 2024-06-26
 */
public class IndexProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long productId;

    /** 推荐排序 */
    @Excel(name = "推荐排序")
    private Integer seqRecommended;

    /** 新品排序 */
    @Excel(name = "新品排序")
    private Integer seqNewArrival;

    /** 畅销排序 */
    @Excel(name = "畅销排序")
    private Integer seqTopSale;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSeqRecommended(Integer seqRecommended) 
    {
        this.seqRecommended = seqRecommended;
    }

    public Integer getSeqRecommended() 
    {
        return seqRecommended;
    }
    public void setSeqNewArrival(Integer seqNewArrival) 
    {
        this.seqNewArrival = seqNewArrival;
    }

    public Integer getSeqNewArrival() 
    {
        return seqNewArrival;
    }
    public void setSeqTopSale(Integer seqTopSale) 
    {
        this.seqTopSale = seqTopSale;
    }

    public Integer getSeqTopSale() 
    {
        return seqTopSale;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("seqRecommended", getSeqRecommended())
            .append("seqNewArrival", getSeqNewArrival())
            .append("seqTopSale", getSeqTopSale())
            .toString();
    }
}
